package org.bai.meetingfilm.backend.show.consumer;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
public class BackendConsumerApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(BackendConsumerApplication.class);

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(BackendConsumerApplication.class);
        application.setWebApplicationType(WebApplicationType.SERVLET);
        application.run(args);
        LOGGER.info("show consumer start success");
    }
}
